require(["common", "jQuery"], function(jSouper) {
	jSouper.ready(function() {
		$('input[name="model"]').click(function(){
			if($('input[name="model"]:checked').val()=="true"){
				$('#model2').animate({
					height: 0,
					opacity: 0
				},300);
				$('#model2').css("display","");
				$('#model1').animate({
					height: 490,
					opacity: 100
				},300);
				$('#model1').css("display","block");
			}else{
				$('#model1').animate({
					height: 0,
					opacity: 0
				},300);
				$('#model1').css("display","");
				$('#model2').animate({
					height: 230,
					opacity: 100
				},300);
				$('#model2').css("display","block");
			}
		})
	})
})